package com.geekstudy.week9;

import com.geekstudy.api.UserApi;
import com.geekstudy.core.client.RPCfx;
import com.geekstudy.entity.User;

public class RPCClientMain {


    public static void main(String[] args) {

        UserApi userApi = RPCfx.create(UserApi.class, "http://127.0.0.1:7001");
        User user = userApi.findById(20211001);
        System.out.println(" 测试user:" + user);

    }
}
